export default interface CompilerInterface
{
    /**
     * Get the path to the compiled version of a view.
     *
     * @param  string  path
     * @return string
     */
    getCompiledPath(path: string): string;

    /**
     * Determine if the given view is expired.
     *
     * @param  string  path
     * @return bool
     */
    isExpired(path: string): Promise<boolean>;

    /**
     * Compile the view at the given path.
     *
     * @param  string  path
     * @return void
     */
    compile(path: string): void;
}
